<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>扩展运算符的应用</title>
	</head>
	<body>
		<script>
			//1，数组的合并
			const kuaizi=['王太利','肖央'];
			const fenghuang=['曾毅','玲花'];
/*			const zuixuan=kuaizi.concat(fenghuang);*/
 const zuixuan=[...kuaizi,...fenghuang];
		/*	alert(zuixuan);*/
			const sanzhihua=['E','G','M'];
			const sanyecao=[...sanzhihua];
			/*alert(sanyecao);*/
			
		</script>
	</body>
</html>
